/**
 * 
 */
package com.zzu.icukangfu.serviceimpl;

import java.util.List;

import com.jfinal.aop.Before;
import com.jfinal.plugin.activerecord.tx.Tx;
import com.zzu.icukangfu.entity.Machine;
import com.zzu.icukangfu.service.MachineService;

/**
 * @author teng
 * @time下午5:41:27
 * @corporation ttkj
 */
public class MachineServiceImpl implements MachineService{

	/* (non-Javadoc)
	 * @see com.zzu.icukangfu.service.MachineService#addMachine(com.zzu.icukangfu.entity.Machine)
	 */
	@Override
	@Before(Tx.class)
	public String addMachine(Machine machine) {
		String sql="insert into machine(machine_id,physician_id,machine_type,machine_stauts) values(?,?,?,?)";
		return null;
	}

	/* (non-Javadoc)
	 * @see com.zzu.icukangfu.service.MachineService#findTheMachine(java.lang.String)
	 */
	@Override
	public Machine findTheMachine(String machineId) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.zzu.icukangfu.service.MachineService#fineAllMachine()
	 */
	@Override
	public List<Machine> fineAllMachine() {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.zzu.icukangfu.service.MachineService#startMachine(java.lang.String)
	 */
	@Override
	public Boolean startMachine(String machineid) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see com.zzu.icukangfu.service.MachineService#closeMachine(java.lang.String)
	 */
	@Override
	public Boolean closeMachine(String machineid) {
		// TODO Auto-generated method stub
		return null;
	}

}
